package cn.lili.modules.order.order.service;

import cn.lili.common.vo.ResultMessage;
import cn.lili.modules.order.order.entity.dos.RankingGrowAwardConfig;
import cn.lili.modules.order.order.entity.dos.RankingGrowAwardStatus;
import cn.lili.modules.order.order.entity.vo.GrowthRewardVO;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 成长奖励奖品配置 服务类
 * </p>
 *
 * @author zhushiqing
 * @since 2023-12-21
 */
public interface IRankingGrowAwardConfigService extends IService<RankingGrowAwardConfig> {

    GrowthRewardVO growthReward();

    ResultMessage<Object> receiveAReward(RankingGrowAwardStatus rankingGrowAwardStatus);

    ResultMessage<Object> viewLogistic(String expressNo);

    /**
     * 添加成长奖励奖品
     */
    ResultMessage addRankingGrowAwardConfig(RankingGrowAwardConfig config);

    /**
     * 编辑成长奖励奖品
     * @param config
     * @return
     */
    ResultMessage editRankingGrowAwardConfig(RankingGrowAwardConfig config);

    /**
     * 删除成长奖励奖品
     * @param id
     * @return
     */
    ResultMessage deleteRankingGrowAwardConfig(String id);

    /**
     * 获取成长奖励奖品配置
     * @return
     */
    List<RankingGrowAwardConfig> getRankingGrowAwardConfigs();

    /**
     * 获取成长奖励奖品配置->下拉条件框里展示
     */
    ResultMessage getRankingGrowAwardConfigListKeyVal();

}
